import 'package:flutter/material.dart';

class CounterNotifier extends ChangeNotifier {
  int _value = 100;
  int get value {
    return _value;
  }

  set value(int value) {
    _value = value;
    notifyListeners();
  }

  void increment() {
    _value = _value + 1;
    notifyListeners();
  }
}
